/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.nuboat.easyjsf.util;

import java.util.Date;
import java.util.UUID;

/**
 *
 * @author nuboat
 */
public class UUIDGen {

    private UUIDGen() {}

    public static String getUUID() {
        return new UUID(new Date().getTime(), new Date().getTime()).toString();
    }

    public static long getSerialUID() {
        return new UUID(new Date().getTime(), new Date().getTime()).getMostSignificantBits();
    }

}